package name.jiaosha.air.user.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Repository;

import name.jiaosha.air.OperateTip;
import name.jiaosha.air.user.domain.LoginUser;
import name.jiaosha.air.user.service.IUserService;

@Repository("loginController")
public class LoginController {
	@Autowired
	private IUserService userService;

	public OperateTip login(String qq, String passWord) {

		LoginUser loginUser = userService.getLoginUserByQQ(qq);
		System.out.println(loginUser);
		OperateTip tip = new OperateTip("1", "");
		return tip;
	}
}
